# coding: utf-8

from django.db import models


class MetaKeys ( models.Model ):
    keywords = models.TextField ( u'Ключевые слова (keywords)', blank = True )
    description = models.TextField ( u'Описание (description)', blank = True )
    author = models.TextField ( u'Автор (author)', blank = True )
    robots = models.TextField ( u'Robots', blank = True )

    def __unicode__ ( self ):
        return u"%s, %s, %s, %s" % ( self.keywords, self.description, self.author, self.robots )

    class Meta:
        verbose_name_plural = u"Значения тега <Meta>"
        verbose_name = u"Значения тега <Meta>"

class TopLogotype ( models.Model ):
    img = models.ImageField ( u'Логотип (в шапке)', upload_to = 'uploads/', blank = True )
    link = models.URLField ( u'Ссылка', blank = True )
    
    class Meta:
        verbose_name_plural = u'Логотип'
        verbose_name = u'Логотип'
    
class BottomFooter ( models.Model ):
    content = models.TextField ( u'Текст в футере', blank = True )

    def __unicode__ ( self ):
        return u"%s" % ( self.text )

    class Meta:
        verbose_name_plural = u"Футер"
        verbose_name = u"Текст в футере"

# EOF
